GtkStackTransitionType transition;
if (g_variant_get_boolean (state))
- transition = GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT_RIGHT;
+ transition = GTK_STACK_TRANSITION_TYPE_CROSSFADE;
else
transition = GTK_STACK_TRANSITION_TYPE_NONE;
</section>
</submenu>
<item>
- <attribute name="label" translatable="yes">Slide Pages</attribute>
+ <attribute name="label" translatable="yes">Transition Pages</attribute>
<attribute name="action">win.transition</attribute>
</item>
</section>
<property name="margin-bottom">10</property>
<child>
<object class="GtkStack" id="toplevel_stack">
- <property name="transition-duration">1000</property>
+ <property name="transition-duration">250</property>
<child>
<object class="GtkStackPage">
<property name="name">page1</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkStack" id="stack">
- <property name="transition-type">crossfade</property>
- <property name="transition-duration">1000</property>
+ <property name="transition-type">rotate-left-right</property>
+ <property name="transition-duration">250</property>
<child>
<object class="GtkStackPage">
<property name="name">page1</property>